﻿package pk;

public enum week {
		MON,TUE,WED,THU,FRI,SAT,SUN
}

package pk;

public enum weekDemo{
		public void doWhat(week day){
			switch(day){
			case MON:
			case TUE:
			case WED:
			case THU:
				System.out.print("工作日，努力写代码");
				break;
			}
		}


		public static void main(String[] args){
			week s=new weekDemo();
			s.doWhat(week.FRI);

} 